package com.mohan.pojo;

public class Comment {
	/**
	 * commentId:文章评论的id[自动生成](----不为空)
	 * name:评论者的用户名(----不为空)
	 * createTime:发布评论时间
	 * content:评论的内容(----不为空)
	 * serialNum:评论在该文章所有评论的序号(----不为空)
	 * loves:评论获取点赞次数[默认位0](----不为空)
	 * replyIds:回复该评论的所有回复的id数组
	 * articleId:所评论文章的id(----不为空)
	 * userId:上传评论的用户id(----不为空)
	 */
	private int commentId;
	private String name;
	private String createTime;
	private String content;
	private int serialNum;
	private int loves;
	private String replyIds;
	private int articleId;
	private String userId;
	
	public int getCommentId() {
		return commentId;
	}
	public void setCommentId(int commentId) {
		this.commentId = commentId;
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public String getCreateTime() {
		return createTime;
	}
	public void setCreateTime(String createTime) {
		this.createTime = createTime;
	}
	public String getContent() {
		return content;
	}
	public void setContent(String content) {
		this.content = content;
	}
	public int getSerialNum() {
		return serialNum;
	}
	public void setSerialNum(int serialNum) {
		this.serialNum = serialNum;
	}
	public int getLoves() {
		return loves;
	}
	public void setLoves(int loves) {
		this.loves = loves;
	}
	public String getReplyIds() {
		return replyIds;
	}
	public void setReplyIds(String replyIds) {
		this.replyIds = replyIds;
	}
	public int getArticleId() {
		return articleId;
	}
	public void setArticleId(int articleId) {
		this.articleId = articleId;
	}
	public String getUserId() {
		return userId;
	}
	public void setUserId(String userId) {
		this.userId = userId;
	}
}
